package reesoft.idgenerator.entity;

/**
 * 序号范围
 *
 * Created by reesoft on 2017-08-28
 */
public class IdRange
{
    // 起始值
    private long startValue;

    // 数量
    private long amount;

    public IdRange(long startValue, long amount)
    {
        this.startValue = startValue;
        this.amount = amount;
    }

    public long getStartValue()
    {
        return startValue;
    }

    public void setStartValue(long startValue)
    {
        this.startValue = startValue;
    }

    public long getAmount()
    {
        return amount;
    }

    public void setAmount(long amount)
    {
        this.amount = amount;
    }
}
